package com.demo.gereric;

import org.junit.Test;

import java.util.concurrent.Callable;

public class TestBase {
	@Test
	public void test() {
		Base.<String>newInstance().callable(new Callable<String>() {
			@Override
			public String call() throws Exception {
				System.out.println("call");
//				return "aa";
				throw new RuntimeException();
			}
		}).retryCall();
	}
}
